<!--加入购物车-前往购物车-->
<div class="join-cart shop-cart">
    <a href="javascript:;" class="{if isset($good.id)}d1-mall-joincart-{$good.id}{/if}" title="加入购物车"></a>
</div>
<div class="tobuy shop-cart">
    <a href="/xmall/cart" title="前往购物车"></a>
</div>